/**
 *
 */
package com.ybkj.daijia.common;

import java.math.BigDecimal;


public class CompanyOrderVo {

    private String companyName;

    private CompanyOrderVo errand;

    private CompanyOrderVo zhuanche;

    private CompanyOrderVo freight;

    private CompanyOrderVo zhuanxian;

    private long cancelNums;

    private long finishNums;

    private BigDecimal money;


    public CompanyOrderVo getZhuanxian() {
        if (zhuanxian != null) {
            return zhuanxian;
        } else {
            return new CompanyOrderVo();
        }
    }

    public void setZhuanxian(CompanyOrderVo zhuanxian) {
        this.zhuanxian = zhuanxian;
    }

    public CompanyOrderVo getFreight() {
        if (freight != null) {
            return freight;
        } else {
            return new CompanyOrderVo();
        }
    }

    public void setFreight(CompanyOrderVo freight) {
        this.freight = freight;
    }

    public CompanyOrderVo getErrand() {
        if (errand != null) {
            return errand;
        } else {
            return new CompanyOrderVo();
        }
    }

    public void setErrand(CompanyOrderVo errand) {
        this.errand = errand;
    }

    public CompanyOrderVo getZhuanche() {
        if (zhuanche != null) {
            return zhuanche;
        } else {
            return new CompanyOrderVo();
        }
    }

    public void setZhuanche(CompanyOrderVo zhuanche) {
        this.zhuanche = zhuanche;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public long getCancelNums() {
        return cancelNums;
    }

    public void setCancelNums(long cancelNums) {
        this.cancelNums = cancelNums;
    }

    public long getFinishNums() {
        return finishNums;
    }

    public void setFinishNums(long finishNums) {
        this.finishNums = finishNums;
    }

    public BigDecimal getMoney() {
        if (money != null) {
            return money;
        } else {
            return BigDecimal.ZERO;
        }
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }


}
